﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Site.Master" AutoEventWireup="true" CodeBehind="member.aspx.cs" Inherits="BookClubIt.member_page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="container">
<div class="content-full">
<a href="javascript:history.go(-1)"> << Go Back</a>
<h1><small><asp:Label ID="lblUsername" runat="server"/>'s Profile</small></h1>
<div class="member-content">
<div class="avatar">
<asp:Image ID="imgMemberAvatar" runat="server" Height="120px" Width="90px" />
</div>
<div class="user-info">
Created: <asp:Label ID="lblCreatedDate" runat="server"/>
</div>
<div style="clear:both"></div>

<h2><small><asp:Label ID="lblUserName2" runat="server"/>'s Book Clubs</small></h2>
<asp:GridView ID="grdMemberBookClubs"
 OnRowDataBound="grdMemberBookClubs_OnRowDataBound"
  runat="server"
   AutoGenerateColumns="false"
    AlternatingRowStyle-CssClass="alt"
     CssClass="table browse-clubs"
     BorderWidth="0"
     GridLines="None"
     width="100%">
<Columns>
 <asp:TemplateField ItemStyle-CssClass="avatar-row">
           <HeaderTemplate>
            
           </HeaderTemplate>
           <ItemTemplate>
          
           <asp:Image ID="imgClubAvatar" runat="server" Height="50px" Width="50px" />
           </ItemTemplate>
      </asp:TemplateField>

    <asp:TemplateField HeaderStyle-CssClass="main-link" ItemStyle-CssClass="main-link">
           <HeaderTemplate >
               Book Club
           </HeaderTemplate>
           <ItemTemplate>
           <asp:HyperLink ID="lnkBookClub" runat="server" />
           
           </ItemTemplate>
      </asp:TemplateField>

          <asp:TemplateField>
           <HeaderTemplate>
                Type
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblClubType"/>
           </ItemTemplate>
      </asp:TemplateField>

        <asp:TemplateField>
           <HeaderTemplate>
                Members
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblNumMembers"/>
           </ItemTemplate>
      </asp:TemplateField>

        <asp:TemplateField>
           <HeaderTemplate>
                Reading
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblCurrentBook"/>
           </ItemTemplate>
      </asp:TemplateField>

         <asp:TemplateField>
           <HeaderTemplate>
                Created
           </HeaderTemplate>
           <ItemTemplate>
                <asp:Label runat="server" ID="lblCreatedDate"/>
           </ItemTemplate>
      </asp:TemplateField>

       <asp:TemplateField ItemStyle-CssClass="buttons">
           <ItemTemplate>
             <asp:HyperLink ID="lnkViewClub" runat="server" CssClass="btn btn-small btn-info" Text="View" />
           </ItemTemplate>
      </asp:TemplateField>
</Columns>
<PagerStyle CssClass="pagination" />
</asp:GridView>

</div>
<div class="member-right-sidebar">

</div>
</div>
</div>
</asp:Content>
